﻿using System;
using System.Collections.Generic;
using System.Text;

namespace iPdf
{
    class SimplePage : TataRibbonPage
    {
        public SimplePage()
        {
            visibleColumns.Add(TataGrid.Password);
        }

        protected override ActionItem GetIthActionItem(TataGrid grid, int i)
        {
            PdfItem actionItem = new PdfItem();
            actionItem.Source = (string)grid.GetColumnValueAtRow(i, TataGrid.Source);
            actionItem.Password = (PasswordString)grid.GetColumnValueAtRow(i, TataGrid.Password);
            return actionItem;
        }
    }
}
